#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
int main()
{
	char buf[1024] = { 0 };
	fgets(buf, 1024, stdin);
	fputs(buf, stdout);
	/*FILE* pf = fopen("test.txt", "w");
	if (pf == NULL)
	{
		printf("%s\n", strerror(errno));
		system("pause");
		return 0;
	}
	fputc('z',pf);//fgetc  
	fputc('h', pf);
	fputc('c', pf);
	fclose(pf);
	pf = NULL;*/
	system("pause");
	return 0;

}